#ifndef PALETTELABEL_H
#define PALETTELABEL_H

#include <QLabel>

class PaletteLabel : public QLabel
{
    Q_OBJECT
public:
    explicit PaletteLabel(QWidget *parent=Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags());
    ~PaletteLabel();

signals:
    void CursorPosChanged(const QPoint &point);

protected:
    void mousePressEvent(QMouseEvent *ev);
    void mouseMoveEvent(QMouseEvent *ev);
};

#endif // PALETTELABEL_H
